package com.rykj.qxj.server.dao;

import com.rykj.qxj.server.common.ZmanagerBaseMapper;
import com.rykj.qxj.server.model.entity.DataMart;

import java.util.List;
import java.util.Map;

public interface DataMartMapper extends ZmanagerBaseMapper<DataMart> {

    void saveDataMart(DataMart dataMart);

    void updateDataMart(DataMart dataMart);

    void deleteDataMart(Integer dataMartId);

    List<Map<String, Object>> getDataMartListTree(Map<String,Object> paraMap);

    List<Map<String, Object>> getDataMartList(Map<String, Object> paraMap);

    Integer getCountApiTotal(Map<String, Object> paraMap);

    Integer getThisMonthApiTotal(Map<String, Object> paraMap);

    List<Map<String, Object>> getDataMartCount(Map<String, Object> paraMap);
    DataMart selectDataMart(Integer id);

    List<Map<String, Object>> getCatalogCountTopTen(Map<String, Object> paraMap);

    List<Map<String, Object>> getMartBasicCount();
}
